<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户列表</title>
    <link rel="stylesheet" href="${ctx}/resource/layui/css/layui.css">
</head>
<body>
<div class="layui-container">
<%--    搜索内容--%>
    <div>
        <div class="layui-form layui-form-pane">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">
                        账号
                    </label>
                    <div class="layui-input-inline">
                        <input class="layui-input" placeholder="用户账号" id="userName"/>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">
                        名称
                    </label>
                    <div class="layui-input-inline">
                        <input class="layui-input" placeholder="用户名称" id="realName"/>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">
                        用户角色
                    </label>
                    <div class="layui-input-inline">
                        <select id="role">
                            <option value="">请选择角色</option>
                            <option value="1">管理员</option>
                            <option value="2">业务员</option>
                        </select>
                    </div>
                    <div class="layui-inline">
                            <button class="layui-btn" id="searchBtn">查询</button>
                    </div>
                </div>
            </div>

        </div>
    </div>
<%--    显示区域--%>
    <div>
        <table id="dataTable" lay-filter="dataTableFilter"></table>
    </div>
</div>
<!-- 头工具栏 -->
<script type="text/html" id="headBtns">
    <button class="layui-btn layui-btn-sm layui-btn-danger" lay-event="del">删除用户</button>
</script>
<!-- 行工具栏 -->
<script type="text/html" id="rowBtns">
    <button class="layui-btn layui-btn-sm layui-btn-warm layui-btn-fluid" lay-event="reset">重置密码</button>
</script>
<script src="${ctx}/resource/layui/layui.js"></script>
<script type="text/javascript" src="${ctx}/resource/js/user/userList.js"></script>
</body>
</html>
